Optimal. Leaf size=52 \[ -\frac {4 a \left (a x^2+b x^3\right )^{3/2}}{15 b^2 x^3}+\frac {2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2027, 2039}
\begin {gather*} \frac {2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2}-\frac {4 a \left (a x^2+b x^3\right )^{3/2}}{15 b^2 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2027
Rule 2039
Rubi steps
\begin {align*} \int \sqrt {a x^2+b x^3} \, dx &=\frac {2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2}-\frac {(2 a) \int \frac {\sqrt {a x^2+b x^3}}{x} \, dx}{5 b}\\ &=-\frac {4 a \left (a x^2+b x^3\right )^{3/2}}{15 b^2 x^3}+\frac {2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 41, normalized size = 0.79 \begin {gather*} \frac {2 \sqrt {x^2 (a+b x)} \left (-2 a^2+a b x+3 b^2 x^2\right )}{15 b^2 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.38, size = 35, normalized size = 0.67
method | result | size |
gosper | \(-\frac {2 \left (b x +a \right ) \left (-3 b x +2 a \right ) \sqrt {b \,x^{3}+a \,x^{2}}}{15 b^{2} x}\) | \(35\) |
default | \(-\frac {2 \left (b x +a \right ) \left (-3 b x +2 a \right ) \sqrt {b \,x^{3}+a \,x^{2}}}{15 b^{2} x}\) | \(35\) |
risch | \(-\frac {2 \sqrt {x^{2} \left (b x +a \right )}\, \left (-3 b^{2} x^{2}-a b x +2 a^{2}\right )}{15 x \,b^{2}}\) | \(39\) |
trager | \(-\frac {2 \left (-3 b^{2} x^{2}-a b x +2 a^{2}\right ) \sqrt {b \,x^{3}+a \,x^{2}}}{15 b^{2} x}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 30, normalized size = 0.58 \begin {gather*} \frac {2 \, {\left (3 \, b^{2} x^{2} + a b x - 2 \, a^{2}\right )} \sqrt {b x + a}}{15 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.56, size = 39, normalized size = 0.75 \begin {gather*} \frac {2 \, {\left (3 \, b^{2} x^{2} + a b x - 2 \, a^{2}\right )} \sqrt {b x^{3} + a x^{2}}}{15 \, b^{2} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {a x^{2} + b x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.67, size = 81, normalized size = 1.56 \begin {gather*} \frac {4 \, a^{\frac {5}{2}} \mathrm {sgn}\left (x\right )}{15 \, b^{2}} + \frac {2 \, {\left (\frac {5 \, {\left ({\left (b x + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {b x + a} a\right )} a \mathrm {sgn}\left (x\right )}{b} + \frac {{\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (b x + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b x + a} a^{2}\right )} \mathrm {sgn}\left (x\right )}{b}\right )}}{15 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.30, size = 39, normalized size = 0.75 \begin {gather*} \frac {2\,\sqrt {b\,x^3+a\,x^2}\,\left (-2\,a^2+a\,b\,x+3\,b^2\,x^2\right )}{15\,b^2\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________